package ynu.edu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import ynu.edu.rule.RandomLoadBalancerConfig;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "ynu.edu.Feign")
@LoadBalancerClient(name = "provider", configuration = RandomLoadBalancerConfig.class)

public class Consumer1Application12000 {
    public static void main(String[] args) {
        SpringApplication.run(Consumer1Application12000.class, args);
    }
}
